#include <stdio.h>

int main()
{
    int n;
    scanf("%d", &n);
    int n1 = n % 5;
    if(n1 > 0 && n1 < 4)
    {
        printf("Fishing in day %d", n);
    }
    else
    {
        printf("Drying in day %d", n);
    }
    
    return 0;
}